POV-Ray : Newsgroups : povray.general : Averaging transforms : Re: Averaging transforms Server Time
31 Jul 2024 02:21:33 EDT (-0400)
  Re: Averaging transforms  
From: gregjohn
Date: 15 Jan 2008 10:10:00
Message: <web.478ccbf88a803975d30d1e600@news.povray.org>
Just to restate, I have one transform that is, in effect,

#declare First_Trans= transform{
 rotate foo1 translate bar1
 rotate foo2 translate bar2
 rotate foo3 translate bar3
 rotate foo4 translate bar4
 rotate foo5 translate bar5
 rotate foo6 translate bar6
 rotate foo7 translate bar7 }

Imagine all the transformations a big toe or index digit has to go through from
the hip.  Up the spine, over to shoulder, etc. And then I've got one transform
that describes, as a function of clock, a walk cycle, and another a run.

Now if all transforms are matrices, then I'm guessing a complicated transform,
too, is a matrix. Here's where it may be either incredibly stupid question or
trivial implementation (three lines of SDL or for inclusion in povray 4.1).

Can you simply average all of the components of two different transforms and get
 either a meaningful or smooth transition?






\\
"TheOzule" <chr### [at] chris-oslandorguk> wrote:
> It really depends on the intermediate transforms you want to go through, so is
> much more akin to a spline than a straight line.  I wrote a whole load of
> macros for a previous ray tracing system (Rayshade) that I used for years of
> doing scientific animation, and will see whether I can dig them out and change
> them from C pre-processor code into POVray macros.
>
> Cheers
>
> Chris


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.